package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.content.model.po.CourseTeacher;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author :chenjie
 * @date :Created 2023/2/5 20:10
 */
@Service
public interface CourseTeacherService extends IService<CourseTeacher> {
    /**
     * 查询师资信息
     * @param id
     * @return
     */
    List<CourseTeacher> list(Long id);

    /**
     * 删除师资信息
     * @param courseId 课程id
     * @param teacherId 教师id
     */
    void removeById(Long courseId,Long teacherId );
}
